@font-face {
  font-family: 'Douyin';
  src: url('../../assets/fonts/抖音美好体.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.loginContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  background: url('../../assets/images/login-bg.png') no-repeat center center;
  background-size: cover;

  .loginBox {
    width: 100%;
    max-width: 420px;
    padding: 40px;
  }

  .card {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 10px;
  }


  .title {
    font-size: 48px;
    font-weight: 600;
    color: #a680b9;
    text-shadow: 2px 2px 2px #562d6b;
    text-align: center;
    margin-bottom: 8px;
    font-family: 'Douyin';

    @media screen and (max-width: 768px) and (orientation: portrait) {
      font-size: 36px;
    }

    @media screen and (max-width: 425px) and (orientation: portrait) {
      font-size: 32px;
    }

    @media screen and (max-width: 375px) and (orientation: portrait) {
      font-size: 24px;
    }

    @media screen and (max-width: 320px) and (orientation: portrait) {
      font-size: 22px;
    }
  }

  .description {
    font-size: 18px;
    color: #a680b9;
    text-align: center;
    margin-bottom: 32px;

    @media screen and (max-width: 768px) and (orientation: portrait) {
      font-size: 14px;
    }

    @media screen and (max-width: 425px) and (orientation: portrait) {
      font-size: 12px;
    }

    @media screen and (max-width: 375px) and (orientation: portrait) {
      font-size: 10px;
    }

    @media screen and (max-width: 320px) and (orientation: portrait) {
      font-size: 10px;
    }
  }

  .form {
    margin-top: 20px;
  }

  .loginButton {
    height: 40px;
    font-size: 16px;
    font-weight: 500;
    background: linear-gradient(17deg, #a680b9 0%, #e0bbf2 100%);
    border: none;
    border-radius: 6px;
    margin-top: 8px;

    // &:hover {
    //   opacity: 0.9;
    //   background: linear-gradient(17deg, #562d6b 0%, #a680b9 100%);
    // }
  }

  .regButton {
    width: 120px;
    height: 40px;
    font-size: 16px;
    background: linear-gradient(17deg, #a680b9 0%, #e0bbf2 100%);
    border: none;
    border-radius: 6px;
    margin-top: 8px;
    // &:hover {
    //   opacity: 0.9;
    //   background: linear-gradient(17deg, #562d6b 0%, #a680b9 100%);
    // }

  }

  .goRegisterButton {
    color: #a680b9;

    &:hover {
      opacity: 0.9;
      border:none;
      background: linear-gradient(17deg, #562d6b 0%, #a680b9 100%);
    }
  }

  .registerHint {
    text-align: center;
    color: #888;
    font-size: 14px;
    margin-top: 16px;
  }
}